package com.easy.nacos;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 
 * @Title: NacosServiceApplication.java
 * @Package org.easy.nacos
 * @Description: NACOS 服务发现
 * @author linNaibin
 * @date 2020年7月13日 下午3:30:23
 * @version V1.0
 */
@SpringBootApplication
// @EnableNacosDiscovery

@EnableDiscoveryClient

// @NacosConfigurationProperties(dataId = "easy-nacos_dev", groupId = "easy", autoRefreshed = true)
// @NacosPropertySource(dataId = "easy-nacos_dev", groupId = "easy", autoRefreshed = true) // 数据ID，自动刷新
public class NacosDiscoveryServiceApplication {

	public static void main(String[] args) {
		System.out.println("Hello World!");
		SpringApplication.run(NacosDiscoveryServiceApplication.class, args);
	}
}
